package nyc3d.ai;

import com.jme3.scene.Node;
import java.util.ArrayList;
import nyc3d.vehicle.*;

public class Driver {
    Vehicle vehicleDriving;

    public Driver(){
        
    }

    public void update(float tpf, ArrayList<Node> nodes){
        if (vehicleDriving != null)
        vehicleDriving.getPlayer().accelerate(-6000);
    }

    public Vehicle getVehicleDriving() {
        return vehicleDriving;
    }

    public void setVehicleDriving(Vehicle vehicleDriving) {
        this.vehicleDriving = vehicleDriving;
    }

}
